MailPoet\API\JSON\v1\Newsletters A

Total Complexity 52
Dependencies 27
Dependents 2
Total lines 371
Lines of code 274
Logical lines of code 140
Comment lines 22
Methods 17
Properties 13

Methods 17

Method Rating Maintainability Complexity Lines of code
setStatus()
A
42 15 50
sendPreview()
S
54 5 21
bulkAction()
S
56 4 17
showPreview()
S
55 3 19
fixMissingHash()
S
65 4 9
listing()
S
54 2 21
getWithStats()
S
56 2 18
duplicate()
S
59 2 15
get()
S
58 2 15
trash()
S
59 2 15
restore()
S
59 2 15
delete()
S
60 2 13
create()
S
65 2 9
getNewsletter()
S
72 2 5
__construct()
S
59 1 14
save()
S
66 1 8
getViewInBrowserUrl()
S
64 1 10